<?php
use common\components\DataHelper;
\backend\assets\AppAsset::register($this);
\backend\assets\FormAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <?= \yii\helpers\Html::csrfMetaTags() ?>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="keyword" content="">
    <?php if (DataHelper::is_SSL() && @$this->params["upgrade_policy"]) : ?>
        <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <?php endif ?>
    <title><?=DataHelper::encode($this->title) ?></title>
    <?php $this->head() ?>
    <link href="/static/css/colors/default.css" id="theme" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<style>
    body {
        font-family: 'Microsoft YaHei'
    }

    .preloader {
        background: rgba(0, 0, 0, 0.15);
    }
    .cssload-speeding-wheel {
        border: 2px solid #03a9f3;
        border-left-color: transparent;
        border-right-color: transparent;
    }

    input {
        outline:0;
    }

    .images-div-size {
        width: 100%;height: 160px;overflow: hidden; text-align: center;background-color: #fff;
    }
    .images-div-size img {
        max-height: 100%;margin: 0 auto;
    }
    .table>tbody>tr.active>td, .table>tbody>tr.active>th, .table>tfoot>tr.active>td, .table>tfoot>tr.active>th, .table>thead>tr.active>td, .table>thead>tr.active>th{
        background-color: #f5f5f5;
    }

    body { font-family: 'Microsoft YaHei';}
    .preloader {  background: rgba(0, 0, 0, 0.15);  }
    .cssload-speeding-wheel {  border: 2px solid #03a9f3;  border-left-color: transparent;  border-right-color: transparent;  }
    input {  outline:0;  }
    button.btn.dropdown-toggle.bs-placeholder.form-control {
        border: 1px solid #e4e7ea !important;
    }
    button.btn.dropdown-toggle.form-control {
        border: 1px solid #e4e7ea !important;
    }
</style>
<body>

<?php $this->beginBody() ?>

<div class="preloader" id="loading">
    <div class="cssload-speeding-wheel"></div>
</div>
<div id="wrapper">
    <!--顶部top-->
    <?php $this->beginContent('@app/views/layouts/header.php'); ?>
    <?php $this->endContent(); ?>
    <!--顶部top-->

    <!--left-->
    <div class="navbar-default sidebar" role="navigation">
        <?php $this->beginContent('@app/views/layouts/left-sidebar.php'); ?>
        <?php $this->endContent(); ?>
    </div>
    <!--left-->

    <!--main content start-->
    <div id="page-wrapper">
        <div class="container-fluid">
            <div class="row bg-title">
                <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
                    <h4 class="page-title"><?=$this->title?> </h4>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!--main content goes here-->
            <!--div class="row">
                <div class="col-sm-12"-->
            <?php if (@$this->params["guide"]) : ?>
                <div class="__help row white">
                    <div class="white-box card card-outline-info col-sm-12 ">
                        <?=$this->params['guide']?>
                    </div>
                </div>
            <?php endif ?>
            <?php if (isset($this->blocks['content'])): ?>
                <?= $this->blocks['content'] ?>
            <?php else: ?>
            <?php endif; ?>
            <!--/div>
        </div-->
            <!--right-->
            <?php $this->beginContent('@app/views/layouts/right-sidebar.php'); ?>
            <?php $this->endContent(); ?>
            <!--right-->
        </div>
        <!--footer-->
        <?php $this->beginContent('@app/views/layouts/footer.php'); ?>
        <?php $this->endContent(); ?>
        <!--footer-->
    </div>
    <!--main content end-->

</div>

<!--script-->
</body>
<?php $this->endBody() ?>
<?php if (isset($this->blocks['script'])): ?>
    <?=$this->blocks['script'] ?>
<?php else: ?>
<?php endif; ?>
</html>
<?php $this->endPage() ?>